package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: Tian
 * @version: 1.0
 * @since: 1.0
 * @date: 2024/4/16/18:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("学生信息")
public class Student {
       @ApiModelProperty("学号")
       private Integer sid;
       @ApiModelProperty("学生姓名")
       @TableField("sname")
       private String name;
       @ApiModelProperty("班级id")
       private Integer cid;
       private  Clazz clazz;
}
